checkList(Char,String[]) Method
In This Topic
Checks if the parameters which name starts with the prefix 'prfx' in the parameter list are all in the list of valid parameter names 'plist'. If there is a parameter that is not in 'plist' an IllegalArgumentException is thrown with an explanation message. The default parameters are also included in the check.
Syntax
'Declaration
Public Overloads Overridable Sub checkList( _
ByVal As Char, _
ByVal () As String _
)
public virtual void checkList(
char ,
string[]
)
Parameters
- prfx
- The prefix of parameters to check.
- plist
- The list of valid parameter names for the 'prfx' prefix. If null it is considered that no names are valid.
Exceptions
Exception | Description |
IllegalArgumentException | If there's a parameter name
starting with 'prfx' which is not in the valid list of parameter names.
|
See Also